#!/bin/bash

#登陆阿里云镜像服务
echo ">>> Login Docker Registry:"
docker login -u joywise001 -p 123456XX.. registry.cn-shanghai.aliyuncs.com

# redis
#rm -rf /data/redis;
docker pull registry.cn-shanghai.aliyuncs.com/zymreal/redis:3.3.0;
docker rm -f redis;
docker run -d -p 6379:6379 --name redis --restart=always -v /data/redis:/data -v /etc/localtime:/etc/localtime:ro registry.cn-shanghai.aliyuncs.com/zymreal/redis:3.3.0;